package com.rxh.pojo.core;

import java.io.Serializable;
import java.math.BigDecimal;

public class ChannelOrderInfo implements Serializable {
    //
    private Long id;

    // 平台订单表主键
    private Long orderId;

    // 通道商户号
    private String merchantId;

    // 通道交易币种
    private String channelCurrency;

    // 通道交易币种
    private BigDecimal channelAmount;

    // 通道交易手续费
    private BigDecimal channelDeduct;

    // 通道保证金
    private BigDecimal channelBond;

    // 通道退款金额
    private BigDecimal channelRefundAmount;

    // 通道拒付金额
    private BigDecimal channelProtestAmount;

    // 通道扣率（acquirer_rate)
    private BigDecimal channelFeeRate;

    // 通道交易汇率
    private BigDecimal channelTransRate;

    // 通道清算汇率
    private BigDecimal channelSettleRate;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 平台订单表主键
     *
     * @return order_id 平台订单表主键
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 平台订单表主键
     *
     * @param orderId 平台订单表主键
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 通道商户号
     *
     * @return merchant_id 通道商户号
     */
    public String getMerchantId() {
        return merchantId;
    }

    /**
     * 通道商户号
     *
     * @param merchantId 通道商户号
     */
    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId == null ? null : merchantId.trim();
    }

    /**
     * 通道交易币种
     *
     * @return channel_currency 通道交易币种
     */
    public String getChannelCurrency() {
        return channelCurrency;
    }

    /**
     * 通道交易币种
     *
     * @param channelCurrency 通道交易币种
     */
    public void setChannelCurrency(String channelCurrency) {
        this.channelCurrency = channelCurrency == null ? null : channelCurrency.trim();
    }

    /**
     * 通道交易币种
     *
     * @return channel_amount 通道交易币种
     */
    public BigDecimal getChannelAmount() {
        return channelAmount == null ? new BigDecimal("0") : channelAmount;
    }

    /**
     * 通道交易币种
     *
     * @param channelAmount 通道交易币种
     */
    public void setChannelAmount(BigDecimal channelAmount) {
        this.channelAmount = channelAmount;
    }

    /**
     * 通道交易手续费
     *
     * @return channel_deduct 通道交易手续费
     */
    public BigDecimal getChannelDeduct() {
        return channelDeduct == null ? new BigDecimal("0") : channelDeduct;
    }

    /**
     * 通道交易手续费
     *
     * @param channelDeduct 通道交易手续费
     */
    public void setChannelDeduct(BigDecimal channelDeduct) {
        this.channelDeduct = channelDeduct;
    }

    /**
     * 通道保证金
     *
     * @return channel_bond 通道保证金
     */
    public BigDecimal getChannelBond() {
        return channelBond == null ? new BigDecimal("0") : channelBond;
    }

    /**
     * 通道保证金
     *
     * @param channelBond 通道保证金
     */
    public void setChannelBond(BigDecimal channelBond) {
        this.channelBond = channelBond;
    }

    /**
     * 通道退款金额
     *
     * @return channel_refund_amount 通道退款金额
     */
    public BigDecimal getChannelRefundAmount() {
        return channelRefundAmount == null ? new BigDecimal("0") : channelRefundAmount;
    }

    /**
     * 通道退款金额
     *
     * @param channelRefundAmount 通道退款金额
     */
    public void setChannelRefundAmount(BigDecimal channelRefundAmount) {
        this.channelRefundAmount = channelRefundAmount;
    }

    /**
     * 通道拒付金额
     *
     * @return channel_protest_amount 通道拒付金额
     */
    public BigDecimal getChannelProtestAmount() {
        return channelProtestAmount == null ? new BigDecimal("0") : channelProtestAmount;
    }

    /**
     * 通道拒付金额
     *
     * @param channelProtestAmount 通道拒付金额
     */
    public void setChannelProtestAmount(BigDecimal channelProtestAmount) {
        this.channelProtestAmount = channelProtestAmount;
    }

    /**
     * 通道扣率（acquirer_rate)
     *
     * @return channel_fee_rate 通道扣率（acquirer_rate)
     */
    public BigDecimal getChannelFeeRate() {
        return channelFeeRate == null ? new BigDecimal("0") : channelFeeRate;
    }

    /**
     * 通道扣率（acquirer_rate)
     *
     * @param channelFeeRate 通道扣率（acquirer_rate)
     */
    public void setChannelFeeRate(BigDecimal channelFeeRate) {
        this.channelFeeRate = channelFeeRate;
    }

    /**
     * 通道交易汇率
     *
     * @return channel_trans_rate 通道交易汇率
     */
    public BigDecimal getChannelTransRate() {
        return channelTransRate == null ? new BigDecimal("0") : channelTransRate;
    }

    /**
     * 通道交易汇率
     *
     * @param channelTransRate 通道交易汇率
     */
    public void setChannelTransRate(BigDecimal channelTransRate) {
        this.channelTransRate = channelTransRate;
    }

    /**
     * 通道清算汇率
     *
     * @return channel_settle_rate 通道清算汇率
     */
    public BigDecimal getChannelSettleRate() {
        return channelSettleRate == null ? new BigDecimal("0") : channelSettleRate;
    }

    /**
     * 通道清算汇率
     *
     * @param channelSettleRate 通道清算汇率
     */
    public void setChannelSettleRate(BigDecimal channelSettleRate) {
        this.channelSettleRate = channelSettleRate;
    }
}